package com.leal.util

import org.apache.log4j.{Level, Logger}

/**
 * @title: SparkLoggerTrait
 * @projectName bigdata
 * @description: SparkLoggerTrait 设置log 输出
 * @author leali
 * @date 2022/5/15 23:5
 */
trait SparkLoggerTrait {
  Logger.getLogger("org.apache.spark").setLevel(Level.WARN)
  Logger.getLogger("org.apache.hadoop").setLevel(Level.WARN)

}
